Release Notes for STM32CubeF4 Firmware Package

Copyright 2015 STMicroelectronics

 

STMCubeTM initiative was originated by STMicroelectronics to ease developers life by reducing development efforts, time and cost. STM32Cube covers STM32 portfolio.

STM32Cube Version 1.x includes:
    • The STM32CubeMX, a graphical software configuration tool that allows to generate C initialization code using graphical wizards.
    • A comprehensive embedded software platform, delivered per series (such as STM32CubeF4 for STM32F4 series)
      • The STM32Cube HAL, an STM32 abstraction layer embedded software, ensuring maximized portability across STM32 portfolio
      • A consistent set of middleware components such as RTOS, USB, TCP/IP, Graphics
      • All embedded software utilities coming with a full set of examples
All embedded software utilities come with a full set of examples.
  • The STM32Cube firmware solution offers a straightforward API with a modular architecture, making it simple to fine tune custom applications and scalable to fit most requirements
     
         

  • The HAL (Hardware Abstraction Layer) drivers provided within this package supports the following STM32F4 Series  405xx/415xx/407xx/417xx/427xx/437xx/429xx/439xx/401xC/401xE/411xC/411xE/446xx

  • The STM32CubeF4 firmware package comes with an updater utility, STM32CubeUpdater, that can be configured for automatic or on-demand checks for new firmware package updates (new releases or/and patches)
  • For quick getting started with the STM32CubeF4 firmware package, refer to UM1730 and you can download firmware updates and all the latest documentation from www.st.com/stm32cubef4
  • Below links to the most useful documents
    • UM1709: STM32Cube Ethernet IAP example
    • UM1713: Developing applications on STM32Cube with LwIP TCP/IP stack
    • UM1720: STM32Cube USB host library
    • UM1721: Developing Applications on STM32Cube with FatFs
    • UM1722: Developing Applications on STM32Cube with RTOS
    • UM1723: STM32CubeF4 PolarSSL example
    • UM1725: Description of STM32F4xx HAL drivers
    • UM1730: Getting started with STM32CubeF4 firmware package for STM32F4xx series
    • UM1743: STM32CubeF4 demonstration platform

Update History

V1.5.0 / 13-March-2015

Main Changes

  • Official release to support STM32F446xx devices
  • Fix known defects and several enhancements implementation
  • \HAL
    • Support of the STM32F446xx devices:
      • Add new drivers for CEC, QSPI, FMPI2C and SPDIFRX peripherals
    • Enhancements implementation. Two changes done on the HAL require an update on the application code based on HAL V1.2.0
      • HAL SAI driver has been updated in this version, some changes done on process APIs (to add new features) require update of application code based on previous versions
      • HAL CRYP driver updated to support multi instance, so user must ensure that the new parameter Instance is initialized in his application(CRYPHandle.Instance = CRYP)
  • \Middlewares
    • New USB Device V2.4.0: adding the support of the Link Power Management (LPM) feature, for STM32F446xx devices
    • Updated STemWin V5.26: fix bitmap drawing operation with 24bpp
    • Updated PolarSSL V1.2.8: alignment vs. latest change in HAL CRYP driver
  • \BSP
    • Add new BPS drivers for STM32446E_EVAL board
    • Align all other BSP drivers with the V1.3.0 of HAL peripheral drivers
  • \Projects
    • Add Examples, Applications and Demonstration firmware for STM32F446xx devices and STM32446E_EVAL board
    • All projects updated following changes in latest version of HAL and Middlewares
    • Miscellaneous enhancements and bugs fix
    • Important notes: 
      • some of MDK-ARM projects were created with v4.73, and others with v5.10 (mainly for STM32F411RE-Nucleo projects). If you are using MDK-ARM v5.10 (and later) you have to install a legacy patch to be able to open projects built with v4.73, here is the download link
      • all new added projects for STM32F446E_EVAL board were created with MDK-ARM v5.13
  • For the complete list of changes, please refer to the release notes of each firmware components

Contents


Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain v7.30
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain v5.13
    • Important note: 
      • some of MDK-ARM projects was created with v4.73, and others with v5.10 (mainly for STM32F411RE-Nucleo projects). If you are using MDK-ARM v5.10 (and later) you have to install a legacy patch to be able to open projects built with v4.73, here is the download link
      • all new added projects for STM32F446E_EVAL board were created with MDK-ARM v5.13
  • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain v5.1.1

Supported Devices and EVAL boards

  • STM32F446xx devices STM32446E_EVAL board RevB
  • STM32F429xx/439xx devices and STM324x9I-EVAL board RevB
  • STM32F429xx and STM32F429I-Discovery board RevB
  • STM32F407xx/417xx devices and STM324xG-EVAL board RevC
  • STM32F407xx and STM32F4-Discovery board RevC
  • STM32F401xC and STM32F401C-Discovery board RevB
  • STM32F401xE and STM32F401RE-Nucleo board RevC
  • STM32F411xE and STM32F411RE-Nucleo board RevC

Known Limitations

  • The following issues are detected when using EWARM V7.30, however they are not present when using EWARM V7.10, they will be fixed in next release:
    • Display/LTDC_AnimatedPictureFromSDCard and LTDC_PicturesFromSDCard applications for STM324x9I_EVAL work correctly with all optimization levels except High-Size one, where the parse of SD card is failing.
    • Demonstration projects for STM324xG_EVAL and STM324x9I_EVAL:
      • Kernel Log doesn’t display USB device, when detaching the USB key from the board (STM324xG_EVAL)
      • Kernel Log doesn’t display Media files directory, after browsing any media file (STM324xG_EVAL)
      • Generated noise once unplugging a USB key from the board, once playing audio file, or when switching automatically to the next audio file (STM324xG_EVAL)
      • The Demo is blocked when plugging a uSD card on running mode (STM324x9I_EVAL)
      • The MB1063 demonstration is presenting a flicker effect of the camera capture due to multiple access to the SDRAM 
  • USB_Device\AUDIO_Standalone application for STM324x9I_EVAL
    • MDK-ARM and TrueSTUDIO projects are provided with optimization set to “None”, to avoid audio glitch when USB cable is disconnected
  • STM324x9I-EVAL, STM324xG-EVAL and STM32F429I-Discovery demonstration
    • TrueSTUDIO project is not provided
  • Display\LTDC_Paint application for STM324x9I_EVAL
    • Works only with MB1063 LCD display, not functional with MB1046
  • FatFs\FatFs_USBDisk_MultipleAccess_RTOS application for STM324x9I_EVAL
    • Robustness to be improved, the application may not work correctly after several board reset

V1.4.0 / 26-December-2014

Main Changes

  • Maintenance release to fix known defects and several enhancements implementation
  • \HAL
    • Macros and literals renaming to ensure full compatibility across STM32 series, backward compatibility with HAL V1.1.0 maintained thanks to new added file stm32_hal_legacy.h under /Inc/Legacy
    • Fix known defects and several enhancements implementation. Two changes done on the HAL requires an update on the application code based on HAL V1.1.0
      • LSI_VALUE constant has been corrected in stm32f4xx_hal_def.h file, its value changed from 40 KHz to 32 KHz
      • UART, USART, IRDA and SMARTCARD (referenced as PPP here below) drivers: in DMA transmit process, the code has been updated to avoid waiting on TC flag under DMA ISR, PPP TC interrupt is used instead. Below the update to be done on user application:
        • Configure and enable the USART IRQ in HAL_PPP_MspInit() function
        • In stm32f4xx_it.c file, PPP_IRQHandler() function: add a call to HAL_PPP_IRQHandler() function
    • Update drivers to be C++ compliant
    • Several update on source code formatting, for better UM generation (i.e. Doxygen tags updated)
    • Add *.chm UM for all drivers, a UM is provided for each superset RPN
  • Use latest Cortex-M CMSIS, including the DSP Library
  • \Middlewares
    • Use latest version
      • USB Host V3.2.0: backward compatible with previous used version V3.1.0
      • USB Device V2.3.0: backward compatible with previous used version V2.2.0
      • STemWin V5.26: project based on previous version V5.24 need to be updated following the change in the binary name, ex. STemWin524b_CM4_IAR.a is renamed into  STemWin526_CM4_IAR.a
      • FatFs R0.10b: project based on previous version R0.10 need to update ffconf.h file (for more details please refer the associated release notes)
      • FreeRTOS V8.1.2: project based on previous version V7.6.0 needs some update to work with version V8.1.2  (for more details please refer the associated release notes)
    •  Update USB Host and Device Libraries to be C++ compliant
  • \BSP
    • Fix known defects
    • Update to fix compilation issues under Linux and Mac OS
  • \Projects
    • All projects updated following changes in latest version of HAL and Middlewares
    • Miscellaneous enhancements and bugs fix
    • Relocate all media files (wav, video, images..) under \Utilities\Media folder
    • Add TIM_Encoder example showing how to configure the Timer in encoder interface mode to determinate the rotation direction
    • STM32F4-Discovery and STM324xG_EVAL projects: Update SystemClock_Config() to turn off the Flash prefetch if the code is running on STM32F407xx RevA devices, to comply with the errata sheet limitation.
    • Update system_stm32f4xx.c file in all projects to fix SDRAM configuration in SystemInit_ExtMemCtl() function (apply the same fix implemented in STM32F4xx CMSIS files)
    • Force initialization of all PPP Init structure's field before calling HAL_PPP_Init() API
    • Validation using latest toolchains version: EWARM v7.30 and TrueSTUDIO v5.1.1 (no change on MDK-ARM version, use always V5.10)
    • Important note: some of MDK-ARM projects was created with v4.73, and others with v5.10 (mainly for STM32F411RE-Nucleo projects). If you are using MDK-ARM v5.10 (and later) you have to install a legacy patch to be able to open projects built with v4.73, here is the download link
  • For the complete list of changes, please refer to the release notes of each firmware components

Contents


Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain v7.30
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain v5.10
    • Important note: some of MDK-ARM projects was created with v4.73, and others with v5.10 (mainly for STM32F411RE-Nucleo projects). If you are using MDK-ARM v5.10 (and later) you have to install a legacy patch to be able to open projects built with v4.73, here is the download link
  • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain v5.1.1

Supported Devices and EVAL boards

  • STM32F429xx/439xx devices and STM324x9I-EVAL board RevB
  • STM32F429xx and STM32F429I-Discovery board RevB
  • STM32F407xx/417xx devices and STM324xG-EVAL board RevC
  • STM32F407xx and STM32F4-Discovery board RevC
  • STM32F401xC and STM32F401C-Discovery board RevB
  • STM32F401xE and STM32F401RE-Nucleo board RevC
  • STM32F411xE and STM32F411RE-Nucleo board RevC

Known Limitations

  • The following issues are detected when using EWARM V7.30, however they are not present when using EWARM V7.10, they will be fixed in next release:
    • Display/LTDC_AnimatedPictureFromSDCard and LTDC_PicturesFromSDCard applications for STM324x9I_EVAL work correctly with all optimization levels except High-Size one, where the parse of SD card is failing.
    • Demonstration projects for STM324xG_EVAL and STM324x9I_EVAL:
      • Kernel Log doesn’t display USB device, when detaching the USB key from the board (STM324xG_EVAL)
      • Kernel Log doesn’t display Media files directory, after browsing any media file (STM324xG_EVAL)
      • Generated noise once unplugging a USB key from the board, once playing audio file, or when switching automatically to the next audio file (STM324xG_EVAL)
      • The Demo is blocked when plugging a uSD card on running mode (STM324x9I_EVAL)
  • USB_Device\AUDIO_Standalone application for STM324x9I_EVAL
    • MDK-ARM and TrueSTUDIO projects are provided with optimization set to “None”, to avoid audio glitch when USB cable is disconnected
  • STM324x9I-EVAL, STM324xG-EVAL and STM32F429I-Discovery demonstration
    • TrueSTUDIO project is not provided

V1.3.0 / 26-June-2014

Main Changes

  • Full features release, containing all projects sources for the supported boards
  • \Projects
    • All projects updated following changes in latest version of HAL, BSP and Middlewares
    • Add examples for JPEG images encoding and decoding, based on LibJPEG, for STM324x9I_EVAL, STM324xG_EVAL and STM32F429I-Discovery (under \Projects\<BoardName>\Applications\LibJPEG)
    • Add projects for STM32F411RE-Nucleo board (9 in total)
    • Add STemWin Simulation project (under \Projects\WIN32\STemWin_Simulation)
    • Rename \Projects\STM32F4xx-Nucleo into \Projects\STM32F401RE-Nucleo
    • Miscellaneous enhancements and bugs fix
    • For the complete list of changes, please refer to the release notes of each board Examples, Applications and Demonstrations
    • Important note: some of MDK-ARM projects was created with v4.73, and others with v5.10 (mainly for STM32F411RE-Nucleo projects). If you are using MDK-ARM v5.10 (and later) you have to install a legacy patch to be able to open projects built with v4.73, here is the download link
  • BSP
    • Minor update in STM32F4-Discovery, STM32F401-Discovery and STM324xG-EVAL BSP audio drivers
  • Use STM32CubeUpdater.exe utility V4.2.0

Contents


Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain v7.10.2
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain v5.10
    • Important note: some of MDK-ARM projects was created with v4.73, and others with v5.10 (mainly for STM32F411RE-Nucleo projects). If you are using MDK-ARM v5.10 (and later) you have to install a legacy patch to be able to open projects built with v4.73, here is the download link
  • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain v5.0.0

Supported Devices and EVAL boards

  • STM32F429xx/439xx devices and STM324x9I-EVAL board RevB
  • STM32F429xx and STM32F429I-Discovery board RevB
  • STM32F407xx/417xx devices and STM324xG-EVAL board RevC
  • STM32F407xx and STM32F4-Discovery board RevC
  • STM32F401xC and STM32F401C-Discovery board RevB
  • STM32F401xE and STM32F401RE-Nucleo board RevC
  • STM32F411xE and STM32F411RE-Nucleo board RevC

Known Limitations

  • PolarSSL applications for STM324x9I_EVAL and STM324xG_EVAL
    • SSL_Server and SSL_Client doesn’t work correctly with MDK-ARM v5.10, the provided projects works only with MDK-ARM v4.7
  • LwIP applications for STM324x9I_EVAL and STM324xG_EVAL
    • LwIP_IAP and LwIP_TFTP_Server doesn’t work correctly with EWARM v7.10, the provided projects works only with EWARM v6.7
  • USB_Device\AUDIO_Standalone application for STM324x9I_EVAL
    • MDK-ARM and TrueSTUDIO projects are provided with optimization set to “None”, to avoid audio glitch when USB cable is disconnected
  • STM324x9I-EVAL, STM324xG-EVAL and STM32F429I-Discovery demonstration
    TrueSTUDIO project is not provided

V1.2.0 / 19-June-2014

Main Changes

  • Patch release for STM32CubeF4, adding support of STM32F411xE devices with several enhancements and bugs fix
    • In this release; only the Firmware components drivers are provided, the projects for the supported boards will be provided in the upcoming release V1.2.1
  • HAL and CMSIS
    • Add support of STM32F411xE devices
    • Several enhancements and bugs fix
    • Update startup files for EWARM toolchain to cope with compiler enhancement of the V7.x version
  • Middleware
    • Use updated version V5.24b of STemWin; adding many new features, with PC simulation resources added and binaries compiled for high speed optimization
    • Add LibJPEG library for JPEG images encoding and decoding
    • Miscellaneous update and minor bugs fix
  • BSP
    • Add BSP drivers for Adafruit 1.8" TFT LCD shield (reference ID 802), with component st7735
    • Update to support new revision of L3GD20 component having new device ID 0xD5
    • Miscellaneous update and minor bugs fix
  • Note: for the complete list of changes, please refer to the release notes of each Firmware component

Contents


Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain v7.10.2
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain v5.10
  • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain v5.0.0

Supported Devices and EVAL boards

  • STM32F429xx/439xx devices and STM324x9I-EVAL board RevB
  • STM32F429xx and STM32F429I-Discovery board RevB
  • STM32F407xx/417xx devices and STM324xG-EVAL board RevC
  • STM32F407xx and STM32F4-Discovery board RevC
  • STM32F401xC and STM32F401C-Discovery board RevB
  • STM32F401xE and STM32F401RE-Nucleo board RevC
  • STM32F411xE and STM32F411RE-Nucleo board RevC

Known Limitations

  • NA

V1.1.0 / 26-February-2014

Main Changes

  • Add sources of STM324x9I-EVAL (both references MB1046 and MB1063), STM324xG-EVAL and STM32F429I-Discovery Demonstration (only for EWARM and MDK-ARM)
    • Media sample files (*.jpg and *.emf) to be used with the demonstration are provided under Utilities\Media
  • Use updated version of STemWin V5.22
  • Miscellaneous update on Examples, Applications, Demonstrations and Templates projects for some boards; for more details refer to the associated release notes
  • Minor update in STM324x9I-EVAL, STM324xG-EVAL and STM32F429I-Discovery uSD and EEPROM BSP drivers

Contents


Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain V6.70.3
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain v4.73
    • A software patch is needed to use STM32F401xE devices with MDK-ARM v4.73. If you do not have this patch installed, you can install it from the following folder "\Utilities\PC_Software\MDK-ARM_STM32F401xE_Patch"
  • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain v4.3.0

Supported Devices and EVAL boards

  • STM32F429xx/439xx devices and STM324x9I-EVAL board RevB
  • STM32F429xx and STM32F429I-Discovery board RevB
  • STM32F407xx/417xx devices and STM324xG-EVAL board RevC
  • STM32F407xx and STM32F4-Discovery board RevC
  • STM32F401xC and STM32F401-Discovery board RevB
  • STM32F401xE and STM32F4xx-Nucleo board RevC

Known Limitations

  • TrueSTUDIO projects are not provided for few Applications and Demonstrations (10 in total)

V1.0.0 / 18-February-2014

Main Changes

  • First official release of STM32CubeF4 (STM32Cube for STM32F4 Series)

    Contents


    Development Toolchains and Compilers

    • IAR Embedded Workbench for ARM (EWARM) toolchain V6.70.3
    • RealView Microcontroller Development Kit (MDK-ARM) toolchain v4.73
      • A software patch is needed to use STM32F401xE devices with MDK-ARM v4.73. If you do not have this patch installed, you can install it from the following folder "\Utilities\MDK-ARM_STM32F401xE_Patch"
    • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain v4.3.0

    Supported Devices and EVAL boards

    • STM32F429xx/439xx devices and STM324x9I-EVAL board RevB
    • STM32F407xx/417xx devices and STM324xG-EVAL board RevC
    • STM32F407xx and STM32F4-Discovery board RevC
    • STM32F401xC and STM32F401-Discovery board RevB
    • STM32F429xx and STM32F429I-Discovery board RevB
    • STM32F401xE and STM32F4xx-Nucleo board RevC

    Known Limitations

    • STM324x9I-EVAL, STM324xG-EVAL and STM32F429I-Discovery Demonstrations sources will be provided in V1.1.0 release planned very soon
    • TrueSTUDIO projects are not provided for few Examples and Applications (7 in total)
    • MDK-ARM projects are not provided for 2 Applications (2 in total)

    License

    Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this package except in compliance with the License. You may obtain a copy of the License at:


    Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

    For complete documentation on STM32 Microcontrollers visit www.st.com/STM32